package com.design.movieticket.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.design.movieticket.entity.Expend;

public interface ExpendService {
    /** 支出信息分页查询 */
    public LambdaQueryWrapper buildQuery(Expend expend);

    /** 分页相关 */
    public <E extends IPage<Expend>> E page(E page, Wrapper<Expend> queryWrapper);

    /** 新增或更新支出数据 */
    public void addOrUpdateExpendInfo(Expend expend);

    /** 获取支出信息详情 */
    public Expend getExpendDetail(long id);

    /** 删除支出信息 */
    public void delExpendById(long id);
}
